home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ MSOXP PPT Doc Track 1.xpl < prev    next >
Text File  |  2001-04-12  |  1KB  |  55 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Program Options\Microsoft Office\MS Office XP\PowerPoint"
  5. "NAME"="Document Routing"
  6. "VERSION"="1.0"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Disable tracking status of document routing"
  9. "DESCRIPTION 1"="Tracks the status of document routing in PowerPoint XP (2002).  Default is enabled. This affects all users."
  10. "AUTHOR"="Xteq Systems (CptSiskoX)"
  11. "CONTACTURL"="http://www.xteq.com"
  12. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  13. "COMMENT 1"=" "
  14.  
  15.  
  16. sV1="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\10.0\PowerPoint\Document Routing\TrackStatus"
  17.  
  18.  
  19. sPCheck="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\10.0\PowerPoint"
  20. Sub Plugin_Initialize 
  21. if RegPathExists(sPCheck) then
  22.  i=RegReadValue(sV1)
  23.  if i=0 then SetUiElement 1,true
  24.  
  25.  
  26. else
  27.  disable()
  28. end if
  29. End Sub
  30.  
  31.  
  32. Sub Plugin_CheckData(ElementIndex)
  33. End Sub
  34.  
  35.  
  36.  
  37. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  38.  if GetUIElement(1)=true then
  39.     i=0
  40.  else
  41.     i=1
  42.  end if
  43.  Call RegWriteValue(sV1,i,1)
  44.  
  45.  
  46.  Call Logoff()
  47. End Sub
  48.  
  49.  
  50. Sub Plugin_Terminate 
  51. End Sub
  52.  
  53.  
  54.  
  55.